<template>
  <div>
    子组件<br />
    <button @click="changeAddress">改变地址</button>
  </div>
</template>

<script>
export default {
  name: 'Child',
  props: {
    person: Object
  },
  methods: {
    changeAddress () {
      this.person.address = '广东东莞'
    }
  }
}
</script>
